package com.zhxy.manager.dao;

import com.zhxy.manager.entity.College;
import com.zhxy.manager.excel.CollegeExcel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CollegeDao {
    int add(College college);

    List<College> selectAll();

    //删除
    int del(int id);
    //批量删除
    int delBatch(int[] ids);
    //修改
    int update(College college);
    //查询搜索条件
    List<College> selectWhere(@Param("name") String name);
    //批量新增
    int addBatch(List<CollegeExcel> colleges);
}
